function hint(txt){
	if (document.getElementById("hint")) {
		$("#hint").show();
	}else{
		var oDiv = document.createElement('div');
		oDiv.id="hint";
		oDiv.innerHTML="<dl><dt>提示</dt><dd></dd><button type=\"button\" id=\"close\">关闭</button></dl>";
		document.body.appendChild(oDiv);	
		var height=document.documentElement.clientHeight;
	    var width=document.documentElement.clientWidth;
		var wid=width/1.2;
		var hei=height/2;
		$("#hint").css({"height":height/2,"width":width/1.2,"top":hei,"margin-top":-hei/2,"left":width/2,"margin-left":-wid/2});
		$("#hint dl").css({"height":height/2,"width":width/1.2});
		$("#hint dl dt").css({"height":hei/5+'px',"line-height":hei/5+'px'});
		$("#hint dl dd").css({"height":hei*0.6+'px'});
		$("#hint").show();
		$("#close").css({"width":wid/1.1});
	};

	$("#close").click(function(){
		$("#hint").hide();
	});
	$("#hint dl dd").text(txt);
}